export default [
  {
    //登录页
    path: "/login",
    name: "Login",
    component: () =>
      import(/*webpackChunkName:'Login'*/ "../views/Login/index"),
  },
  {
    path: "/",
    name: "/",
    // alias: "/",
    component: () =>
      import(/*webpackChunkName:'Welcome'*/ "../views/Layout.vue"),
    children: [
      {
        //管理首页
        path: "/welcome",
        uname: "管理首页",
        icon: "iconfont icon-shouye1",
        meta: { title: "glsy" },
        component: () =>
          import(/*webpackChunkName:'Product'*/ "@/views/Welcome/index"),
      },
      {
        //学员管理
        path: "/studentManager",
        uname: "学员管理",
        icon: "iconfont icon-xueyuan1",
        meta: { title: "xygl" },
        component: () =>
          import(
            /*webpackChunkName:'StudentManager'*/ "@/views/StudentManager/index"
          ),
        children: [
          {
            //学员项目管理
            path: "product",
            paths: "/studentManager/product",
            uname: "学员项目管理",
            icon: "iconfont icon-shangpinguanli",
            meta: { title: "xyxmgl" },
            component: () =>
              import(
                /*webpackChunkName:'Product'*/ "@/views/StudentManager/Product.vue"
              ),
          },
          {
            //学员资料
            path: "profill",
            paths: "/studentManager/profill",
            uname: "学员资料",
            icon: "iconfont icon-shuju1",
            meta: { title: "xyzl" },
            component: () =>
              import(
                /*webpackChunkName:'Profill'*/ "@/views/StudentManager/Profill.vue"
              ),
          },
          {
            //学员宿舍
            path: "dormitory",
            paths: "/studentManager/dormitory",
            uname: "学员宿舍",
            icon: "iconfont icon-shouye",
            meta: { title: "xysh" },
            component: () =>
              import(
                /*webpackChunkName:'Dormitory'*/ "@/views/StudentManager/Dormitory.vue"
              ),
          },
        ],
      },
      // {
      //   //学员项目管理
      //   path: "/studentManager/product",
      //   meta: { title: "xyxmgl" },
      //   component: () =>
      //     import(
      //       /*webpackChunkName:'Product'*/ "@/views/StudentManager/Product.vue"
      //     ),
      // },
      // {
      //   //学员资料
      //   path: "/studentManager/profill",
      //   meta: { title: "xyzl" },
      //   component: () =>
      //     import(
      //       /*webpackChunkName:'Profill'*/ "@/views/StudentManager/Profill.vue"
      //     ),
      // },
      // {
      //   //学员宿舍
      //   path: "/studentManager/dormitory",
      //   meta: { title: "xysh" },
      //   component: () =>
      //     import(
      //       /*webpackChunkName:'Dormitory'*/ "@/views/StudentManager/Dormitory.vue"
      //     ),
      // },
      {
        //考勤管理
        path: "/attendance",
        uname: "考勤管理",
        icon: "iconfont icon-kaoqin3",
        meta: { title: "kxgl" },
        component: () =>
          import(
            /*webpackChunkName:'Attendance'*/ "@/views/Attendance/index.vue"
          ),
      },
      {
        //用户管理
        path: "/users",
        uname: "用户管理",
        icon: "iconfont icon-yonghu",
        meta: { title: "yhgl" },
        component: () =>
          import(/*webpackChunkName:'Users'*/ "@/views/Users/index.vue"),
      },
      {
        //数据统计
        path: "/statistics",
        uname: "数据统计",
        meta: { title: "sjtj" },
        icon: "iconfont icon-shuju2",
        component: () =>
          import(
            /*webpackChunkName:'Statistics'*/ "@/views/Statistics/index.vue"
          ),
      },
      {
        //我的中心
        path: "/mine",
        uname: "我的中心",
        meta: { title: "wdzx" },
        icon: "iconfont icon-wode",
        component: () =>
          import(/*webpackChunkName:'Mine'*/ "@/views/Mine/index.vue"),
      },
      {
        //vip管理
        path: "/vipmanager",
        uname: "vip管理",
        meta: { title: "vip" },
        icon: "iconfont icon-VIP4",
        component: () =>
          import(
            /*webpackChunkName:'StudentManager'*/ "@/views/Vipmanager/index"
          ),
        children: [
          {
            //vip充值
            path: "charge",
            paths: "/vipmanager/charge",
            uname: "vip充值",
            icon: "iconfont icon-chongzhi",
            meta: { title: "vipCharge" },
            component: () =>
              import(
                /*webpackChunkName:'Charge'*/ "@/views/Vipmanager/charge.vue"
              ),
          },
          {
            //订单管理
            path: "order",
            paths: "/vipmanager/order",
            uname: "订单管理",
            icon: "iconfont icon-dd",
            meta: { title: "order" },
            component: () =>
              import(
                /*webpackChunkName:'Order'*/ "@/views/Vipmanager/order.vue"
              ),
          },
        ],
      },
      // {
      //   //vip充值
      //   path: "/vipmanager/charge",
      //   meta: { title: "vipCharge" },
      //   component: () =>
      //     import(/*webpackChunkName:'Charge'*/ "@/views/Vipmanager/charge.vue"),
      // },
      // {
      //   //订单管理
      //   path: "/vipmanager/order",
      //   meta: { title: "order" },
      //   component: () =>
      //     import(/*webpackChunkName:'Order'*/ "@/views/Vipmanager/order.vue"),
      // },
    ],
  },
];
